home *** CD-ROM | disk | FTP | other *** search
- FAQ - DÈfilÈ en boucle
-
- <SCRIPT LANGUAGE="JavaScript">
- texte = 'Texte dÈfilant dans la barre d´Ètat';
- x = texte.length-1;
- place = 0;
- function defile()
- {
- if (place == texte.length)
- {
- place = 0;
- }
- if (place <= x)
- {
- texteDef = texte.substring((texte.length-(x-place)),texte.length) + texte.substring(0,place);
- place++;
- }
- window.status = texteDef;
- rythme = setTimeout("defile()", 200);
- }
- </SCRIPT>
-